package cn.yunhe.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Component
public class Page implements Serializable {
    private int pageSize; //每页大小
    private int curPageNum; //当前页码
    private int totalPage; //总页数
    private int totalNum;  //总记录数
    private List<Object> result; //当前列表

}
